package com.fatdetection.demo.service;

import com.fatdetection.demo.bean.ProjGroup;

import java.util.List;

public interface GroupSevice {

    List<ProjGroup> getGroupsByProjId(Integer projectId);

    public Boolean insertGroup(ProjGroup group);

    public Boolean delGroup(Integer groupId);

    public Boolean updateGroup(ProjGroup group);

    public List<ProjGroup> findAll();

    public List<ProjGroup> findByProj(String projectName);

    public List<ProjGroup> findByOpt(String optName);

    public List<ProjGroup> findBySchool(String schoolName);

    public ProjGroup findByGroupName(String groupName);

    public ProjGroup findById(Integer id);
}
